'''
Created on 23/09/2012

@author: Charles Murray
'''

class Container(object):
    '''
    classdocs
    '''

    mapping = ""
    start = ""
    end = ""
    id = ""
    filler = ""
    #subtree = []

    def __init__(self, mapping, start, end, id, filler, subtree=None):
        '''
        Constructor
        '''
        self.mapping = mapping
        self.start = start
        self.end = end
        self.id = id
        self.subtree = subtree
        self.filler = filler
        
    def getSubtree(self):
        return self.subtree
    
    def getMapping(self):
        return self.mapping
    
    def getId(self):
        return self.id
    
    def getInfo(self):
        return "Container"
    
    def getStart(self):
        return self.start